package com.project.harmonyledger.service;

import com.project.harmonyledger.common.response.Result;
import com.project.harmonyledger.pojo.Account;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface AccountService {
  Result<Map<String, String>> createAccount(Account account);

  Result<Map<String, String>> getAccountById(Long id);

  Result<List<Account>> getUserAccounts(String userId);

  Result<Map<String, String>> updateBalance(Long accountId, BigDecimal amount);

  Result<Map<String, String>> getAccountSummary(Long accountId);
}